<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
function implode2($glue, $arr)
{
	$str = "";
	foreach($arr as $key=>$val)
	{
		if ($str == "")
			$str .= $key.$glue.$val;
		else
			$str .= $glue.$key.$glue.$val;
	}
	return $str;
}
?>